import request from '@/utils/request'

export function getOrderList(params) {
    return request({
        url: '/order/list',
        method: 'get',
        params
    })
}

export function createOrder(data) {
    return request({
        url: '/order/create',
        method: 'post',
        data
    })
} 